﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 分享海报表
    ///</summary>
    [SugarTable("xrc_poster")]
    public class XrcPoster
    {
        /// <summary>
        ///  海报Id
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }


        /// <summary>
        ///  所属店铺Id
        ///</summary>
        [SugarColumn(ColumnName = "gid")]
        public int GId { get; set; }
        /// <summary>
        /// 海报名称 
        ///</summary>
        [SugarColumn(ColumnName="name"    )]
         public string Name { get; set; }
        /// <summary>
        /// 海报图片地址 
        ///</summary>
         [SugarColumn(ColumnName="image"    )]
         public string Image { get; set; }
        /// <summary>
        /// 海报状态 0 可用 1 不可用 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="state"    )]
         public byte? State { get; set; }
        /// <summary>
        /// 海报分类  1详情页海报 2  获客海报 
        ///</summary>
         [SugarColumn(ColumnName="type"    )]
         public int Type { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="create_time"    )]
         public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 删除状态  0未删除  1 已删除 
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="delete"    )]
         public byte? Delete { get; set; }
    }
}
